package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 库存调拨单
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`allocate`")
public class Allocate implements Serializable {
    /**
     * 调拨id
     */
    @TableId(value = "allocate_no", type = IdType.INPUT)
    private Integer allocateNo;

    /**
     * 调拨单编号
     */
    @TableField(value = "allocate_code")
    private String allocateCode;

    /**
     * 调拨名称
     */
    @TableField(value = "allocate_name")
    private String allocateName;

    /**
     * 调拨单单据日期
     */
    @TableField(value = "allocate_document_time")
    private Date allocateDocumentTime;

    /**
     * 调拨时间
     */
    @TableField(value = "allocate_time")
    private Date allocateTime;

    /**
     * 车牌号
     */
    @TableField(value = "car_number")
    private String carNumber;

    /**
     * 交货方式
     */
    @TableField(value = "shipping_type")
    private Integer shippingType;

    /**
     * 备注
     */
    @TableField(value = "allocate_notes")
    private String allocateNotes;

    /**
     * 审核状态
     */
    @TableField(value = "audit_start")
    private Integer auditStart;

    /**
     * 产品从表id
     */
    @TableField(value = "goods_spec_id")
    private Integer goodsSpecId;

    /**
     * 附件id
     */
    @TableField(value = "file_id")
    private Integer fileId;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 创建时间
     */
    @TableField(value = "allocate_create_time")
    private Date allocateCreateTime;

    private static final long serialVersionUID = 1L;
}